﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ajayumi.Platform;

public partial class V1_PersonManage : ListPageRepeater
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public override void ShowListPage()
    {
        base.DataKeyName = "Id";
        this.DataControl = this.Controls[0].FindControl("MainContentPlaceHolder").FindControl("UpdatePanel1");
    }

    protected override System.Collections.ICollection GetBindDataObject(ref int rowCount)
    {
        PersonCollection persons = new PersonCollection();
        PersonCollection lst = persons.GetList(this.PageIndex, this.PageSize);
        rowCount = 1000;
        return lst;
    }
}